package com.canyou.system.entity.dept;

import com.canyou.utils.AbstractTreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 部门显示模型
 *
 * @author beth
 * @data 2021-05-11 22:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "MenuVO", description = "部门显示模型")
public class DeptVO extends AbstractTreeNode<DeptVO> {

    @ApiModelProperty(value = "所属公司id")
    private Long orgId;

    @ApiModelProperty("所属公司名称")
    private String orgName;

    @ApiModelProperty("部门名")
    private String deptName;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("上级部门名称")
    private String parentName;

    @ApiModelProperty(value = "乐观锁版本")
    private Long version;

}
